<extend name="Public/base" />

<block name="style">

</block>

<block name="body">
    <!-- 弹窗插件 -->
    <include file="Public:artdialog" />

    <div class="row">
        <div class="col-md-12">
            <div class="block-web">
                <!-- 商品列表 -->
                    <div class="bgmain">
                        <div class="header">
                           <h3 class="content-header">邮件列表编辑</h3>
                        </div>

                        <div class="block-web" style="margin: 0;padding:10px 20px 0px 0px;">
                            <div class="porlets-content">
                                <div class="row" style="margin-left:-45px;">
                                    <div class="col-md-12" style="padding-left:0px;">
                                        <div class="search_pannl_div">
                                            <table class="search_table">
                                                <tbody>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                <div id="load_tb_div" style="padding:10px 0px 30px ;">
<table class="table table-striped goods_list_table   table-bordered">
        <form action="" method="post">
                <tr >
                       <th>英文名称</th>
                       <th><input style="width:800px"  type="text" name="goods_englishname" value="{$arrData[0]['goods_englishname']}"/></th>
                </tr> 
                <tr >
                       <th>警告库存数量</th>
                       <th><input  type="text" name="warning_stock_quantity" value="{$arrData[0]['warning_stock_quantity']}"/></th>
                </tr>
                <tr >
                       <th>实际库存数量</th>
                       <th><input  type="text" name="actual_stock_quantity" value="{$arrData[0]['actual_stock_quantity']}"/></th>
                </tr>
                <tr >
                       <th>提出需求天数</th>
                       <th><input  type="text" name="demand_time" value="{$arrData[0]['demand_time']}"/></th>
                </tr>
                <tr >
                       <th>是否有效</th>
                       <th><select name="sactive" field="{$arrData[0]['sactive']}">
                       <option value='0'>无效</option>
                       <option value="1">有效</option>
                       </select></th>
                </tr>
                <tr >
                    <input type="hidden" name="procreq_id" value="{$arrData[0]['procreq_id']}"/>
                   <th><button type="submit"  class="btn btn-primary">提交</button></th>
                   <th><a href="__URL__/Purchasing"><button type="button" class="btn btn-success" id="addnew">返回</button></a></th>
                </tr>
        </form>

</table>
</form>  
</block>

<block name="script">
    <script type="text/javascript">
 
$(function(){
    $("select[name='sactive']").val($("select[name='sactive']").attr("field"));
});
</script>
</block>